package com.amado.course09String;

/**
 * Integer 是int的对象类型
 * 
 * @author Administrator
 *
 */
public class IntegerTest {
	public static void main(String[] args) {
		System.out.println(Integer.max(1, 20));

		int a = Integer.valueOf("123");
		int b = Integer.parseInt("1234");
		//自动封箱 Integer.valueOf(125);
		Integer c = 125;
		
		int d = 123;
		//自动拆箱 Integer.parseInt();
		System.out.println(c+d);
	}
}
